int a = 255;
int b = 256;
Serial.println(byte(a)); //vypise: 255
Serial.println(byte(b)); //vypise: 1